package com.tangsm.spring.boot.validation.config.property;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.LinkedHashSet;

/**
 * 拦截器URL过滤白名单参数
 *
 * @author tangsm
 * @since 2021/12/24
 */
@Configuration
@ConfigurationProperties(prefix = "url.filter")
public class WhiteListProperties {

    private LinkedHashSet<String> whiteList;

    public LinkedHashSet<String> getWhiteList() {
        return whiteList;
    }

    public void setWhiteList(LinkedHashSet<String> whiteList) {
        this.whiteList = whiteList;
    }
}
